/* 网页主样式表 */

.sidebar {
    width: 200px;
    background-color: #2c3e50;
    padding: 20px 0;
    height: 100vh;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 12px 25px;
    color: #ecf0f1;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.sidebar li:hover {
    background-color: #34495e;
}

.sidebar li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #3498db;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar li.active {
    background-color: #34495e;
}

.sidebar li.active::before {
    opacity: 1;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.chart-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 15px;
    margin: 10px 0;
}